package com.poobo.dao;

import java.util.List;

import com.poobo.condiction.EquipmentConfigListCondiction;
import com.poobo.entity.TbEquipmentConfiglist;
import com.poobo.util.pager.Page;

public interface IEquipmentConfiglistDao {
	/**
	 * 根据Id查询
	 */
	public TbEquipmentConfiglist queryEquipmentConfigById(Integer id);
	/**
	 * 查询配置列表
	 */
	public Page queryEquipmentConfigPage(EquipmentConfigListCondiction equipmentConfigListCondiction,Page page);
	/**
	 * 查询配置列表
	 */
	public Page queryEquipmentConfigPage2(TbEquipmentConfiglist equipmentConfiglist,Page page);
	/**
	 * 根据Id删除配置
	 * @param id
	 */
	public void deleteEquipmentConfigById(Integer id);
	/**
	 * 添加配置
	 * @param resources
	 */
	public void saveEquipmentConfig( TbEquipmentConfiglist equipmentConfiglist );
	/**
	 * 根据设备Id删除配置
	 * @param id
	 */
	public void deleteEquipmentConfigByEquipmentId(Integer eId);
	/**
	 * 根据列表Id删除配置
	 * @param id
	 */
	public void deleteEquipmentConfigByConfigListId(Integer configListId);
	/**
	 * 查询所有
	 */
	public List<TbEquipmentConfiglist> findAll();
	/**
	 * 根据设备Id查询
	 */
	public TbEquipmentConfiglist queryEquipmentConfigByEqId(Integer eid);
}
